<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<c:if test="${!win}">
	<t:base type="jquery,easyui,tools"></t:base>
</c:if>
<div class="easyui-layout" fit="true">
	<div region="center" style="padding: 1px;">
		<t:datagrid name="${typegroup.typegroupcode}List" title="类型列表"
			actionUrl="systemController.do?typetree&typegroupid=${typegroup.id}"
			idField="id" treegrid="true" pagination="false" >
			<t:dgCol title="编号" field="id" treefield="id" hidden="false"></t:dgCol>
			<t:dgCol title="类型名称" field="text" treefield="text"></t:dgCol>
			<t:dgCol title="类型编码" field="src" treefield="src"></t:dgCol>
			<t:dgCol title="操作" field="opt"></t:dgCol>
			<t:dgDelOpt url="systemController.do?delType&id={id}" title="删除"></t:dgDelOpt>
			<t:dgToolBar title="${typegroup.typegroupname}录入" icon="icon-add"
				url="systemController.do?addorupdateType&typegroupid=${typegroup.id}"
				funname="add"></t:dgToolBar>
			<t:dgToolBar title="${typegroup.typegroupname }编辑" icon="icon-edit"
				url="systemController.do?addorupdateType&typegroupid=${typegroup.id}"
				funname="update"></t:dgToolBar>
		</t:datagrid>


	</div>
</div>

